<template>
  <el-tabs v-model="view" class="contenDiv">
    <el-tab-pane :label="$t('关键指标')" name="pcwTempKeyList" lazy>
      <pcwTempKeyList ref="pcwTempKeyList" v-bind="$attrs" @updateTemplate="$emit('updateTemplate')" />
    </el-tab-pane>
    <el-tab-pane :label="$t('科目信息')" name="pcwTempSubjectList" lazy>
      <pcwTempSubjectList v-bind="$attrs" @updateTemplate="$emit('updateTemplate')" />
    </el-tab-pane>
    <el-tab-pane :label="$t('科目校验')" name="pcwTempSubjectValidation" lazy>
      <pcw-temp-subject-validation-list />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import pcwTempKeyList from './pcwTempKeyList.vue'
import pcwTempSubjectList from './pcwTempSubjectList.vue'
import PcwTempSubjectValidationList from '@/views/company/pcw/pcwTempSubjectValidationList'
export default {
  components: {
    PcwTempSubjectValidationList,
    pcwTempSubjectList,
    pcwTempKeyList
  },
  data() {
      return {
          // 遮罩层
          loading: true,
          // 视图
          view: 'pcwTempKeyList'
      }
  }
}
</script>
